package game.web.dao.factory;

import game.web.dao.WithdrawDAO;
import game.web.dao.impl.WithdrawDAOImpl;
import projectx.core.base.ProjectXSystemException;

public class WithdrawFactory {

	private static WithdrawFactory factory = new WithdrawFactory();

	public static void setFactory(WithdrawFactory factory) {
		WithdrawFactory.factory = factory;
	}

	public static WithdrawFactory getFactory() {
		return factory;
	}

	public WithdrawDAO getWithdrawDAO() throws ProjectXSystemException {
		return new WithdrawDAOImpl();
	}
}
